﻿using System.Threading.Tasks;
using SmartCity.Shared;
using Volo.Abp.Application.Services;

namespace CommonManagement
{
    /// <summary>
    /// 反馈应用服务接口
    /// </summary>
    public interface IFeedbackAppService : IApplicationService
    {
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="input"></param>
        Task<ActionResponse> CreateAsync(CreateFeedbackDto input);

        /// <summary>
        /// 分页列表
        /// </summary>
        /// <param name="request"></param>
        /// <param name="title"></param>
        Task<ListResponse<FeedbackDto>> PagedListAsync(
            PagedListRequest request,
            string title);

        /// <summary>
        /// 详情
        /// </summary>
        /// <param name="id"></param>
        Task<ResultResponse<FeedbackDto>> GetAsync(int id);
    }
}